import axios from "axios"


export const play = {
     methods: {
       //播放歌单
          play_songsheet(index){
            axios.get('http://localhost:8080/api/playlist/detail',{
                params:{
                  id:index
                }
              }).then( (response) => {
               
                 this.$bus.$emit('musicLists',response.data.playlist.tracks)
              })
            
          }
     },
}